﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NMoq.Core
{
    public class InterceptEventArgs:EventArgs
    {
        #region properties
        public IInvocation Invocation
        { get; set; }

        public IDataProvider DataProvider
        { get; set; }
        #endregion

        #region constructors
        public InterceptEventArgs()
            : base()
        { 
        }

        public InterceptEventArgs(IInvocation invocation, IDataProvider dataProvider)
            : this()
        {
            Invocation = invocation;
            DataProvider = dataProvider;
        }
        #endregion
    }
}
